package com.pelli.imarket.client.models;

import com.extjs.gxt.ui.client.data.BaseTreeModel;

public class DataEntryTreeModel extends BaseTreeModel {

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 8707424985375913742L;

	public DataEntryTreeModel(String id,String name){
		set("name", name);
		set("id",id);
		
	}
	
	
	public String getName(){
		return get("name");
	}
	
	public String getId(){
		return get("id");
	}
	
	public String toString(){
		return getName();
	}
	
}
